﻿@model int?
@{
    Layout = "~/Views/Shared/_Master.cshtml";
}
@Html.ValidationSummary(true)
<script type="text/javascript">
    $(document).ready(function () {
           savedata();
        if (processid) {
            $.ajax({
                url: "/ProcessRoll/GetProcess",
                type: 'GET',
                dataType: 'json',
                contentType: 'application/json; charset=utf-8',
                data: { processid: processid },
                success: function (result) {
                    initialProcess(result);
                }
            });
        }
    });
</script>
@using (Html.BeginForm())
{
    @Html.Hidden("processid",Model)
    @Html.Hidden("commandtype", "design")
    <div>
        @{Html.Telerik().Splitter().Name("sp1").HtmlAttributes(new { style = "min-height: 700px;" })
              .Orientation(SplitterOrientation.Horizontal).Panes(panes =>
              {
                  panes.Add().Size("20%").Content(@<div class="process_designtoolbox">@Html.Partial(@"~\views\processRoll\Partial\DesignToolbox.cshtml")</div>);
                  panes.Add().Content(@<div class="process_designcontainer">@Html.Partial(@"~\views\processRoll\Partial\Workspace.cshtml")</div>);
              }).Render();}
    </div>
}

